home *** CD-ROM | disk | FTP | other *** search
/ Sports Illustrated for Kids - Awesome Athletes! / Sports Illustrated for Kids - Awesome Athletes!.iso / th.dir / 00003_QTVR.ls < prev    next >
Encoding:
Text File  |  1996-04-18  |  4.0 KB  |  210 lines

  1. on initVR
  2.   global gSISystem
  3.   if gSISystem = "MAC" then
  4.     MAC_initVR()
  5.   else
  6.     if gSISystem = "WIN" then
  7.       WIN_initVR()
  8.     end if
  9.   end if
  10. end
  11.  
  12. on cleanUpVR
  13.   global gSISystem
  14.   if gSISystem = "MAC" then
  15.     MAC_cleanUpVR()
  16.   else
  17.     if gSISystem = "WIN" then
  18.       WIN_cleanUpVR()
  19.     end if
  20.   end if
  21. end
  22.  
  23. on OpenNavMovie pFilename, pSpriteNum, pShowOnOpen
  24.   global gSISystem
  25.   if gSISystem = "MAC" then
  26.     MAC_OpenNavMovie(pFilename, pSpriteNum, pShowOnOpen)
  27.   else
  28.     if gSISystem = "WIN" then
  29.       WIN_OpenNavMovie(pFilename, pSpriteNum, pShowOnOpen)
  30.     end if
  31.   end if
  32. end
  33.  
  34. on ShowNavMovie
  35.   global gSISystem
  36.   if gSISystem = "MAC" then
  37.     MAC_ShowNavMovie()
  38.   else
  39.     if gSISystem = "WIN" then
  40.       WIN_ShowNavMovie()
  41.     end if
  42.   end if
  43. end
  44.  
  45. on SetNavMovieView pHPan, pVPan
  46.   global gSISystem
  47.   if gSISystem = "MAC" then
  48.     MAC_SetNavMovieView(pHPan, pVPan)
  49.   else
  50.     if gSISystem = "WIN" then
  51.       WIN_SetNavMovieView(pHPan, pVPan)
  52.     end if
  53.   end if
  54. end
  55.  
  56. on CloseNavMovie
  57.   global gSISystem
  58.   if gSISystem = "MAC" then
  59.     MAC_CloseNavMovie()
  60.   else
  61.     if gSISystem = "WIN" then
  62.       WIN_CloseNavMovie()
  63.     end if
  64.   end if
  65. end
  66.  
  67. on NavFrameScript pSpriteNum
  68.   global gSISystem
  69.   if gSISystem = "MAC" then
  70.     MAC_NavFrameScript(pSpriteNum)
  71.   else
  72.     if gSISystem = "WIN" then
  73.       WIN_NavFrameScript(pSpriteNum)
  74.     end if
  75.   end if
  76. end
  77.  
  78. on OpenPanoMovie pFilename, pSpriteNum, pShowOnOpen
  79.   global gSISystem
  80.   if gSISystem = "MAC" then
  81.     MAC_OpenPanoMovie(pFilename, pSpriteNum, pShowOnOpen)
  82.   else
  83.     if gSISystem = "WIN" then
  84.       WIN_OpenPanoMovie(pFilename, pSpriteNum, pShowOnOpen)
  85.     end if
  86.   end if
  87. end
  88.  
  89. on InitPanoCallbacks
  90.   global gSISystem
  91.   if gSISystem = "MAC" then
  92.     MAC_InitPanoCallbacks()
  93.   else
  94.     if gSISystem = "WIN" then
  95.       WIN_InitPanoCallbacks()
  96.     end if
  97.   end if
  98. end
  99.  
  100. on ShowPanoMovie pQuality
  101.   global gSISystem
  102.   if gSISystem = "MAC" then
  103.     MAC_ShowPanoMovie(pQuality)
  104.   else
  105.     if gSISystem = "WIN" then
  106.       WIN_ShowPanoMovie(pQuality)
  107.     end if
  108.   end if
  109. end
  110.  
  111. on SetPanoNode pNodeID, pUpdate, pQuality
  112.   global gSISystem
  113.   if gSISystem = "MAC" then
  114.     MAC_SetPanoNode(pNodeID, pUpdate, pQuality)
  115.   else
  116.     if gSISystem = "WIN" then
  117.       WIN_SetPanoNode(pNodeID, pUpdate, pQuality)
  118.     end if
  119.   end if
  120. end
  121.  
  122. on SwingPanoMovie pHPan, pVPan, pZoom, pSwingSpeed, pSwingQuality, pFinalQuality
  123.   global gSISystem
  124.   if gSISystem = "MAC" then
  125.     MAC_SwingPanoMovie(pHPan, pVPan, pZoom, pSwingSpeed, pSwingQuality, pFinalQuality)
  126.   else
  127.     if gSISystem = "WIN" then
  128.       WIN_SwingPanoMovie(pHPan, pVPan, pZoom, pSwingSpeed, pSwingQuality, pFinalQuality)
  129.     end if
  130.   end if
  131. end
  132.  
  133. on SetPanoMovieView pHPan, pVPan, pZoom, pQuality
  134.   global gSISystem
  135.   if gSISystem = "MAC" then
  136.     MAC_SetPanoMovieView(pHPan, pVPan, pZoom, pQuality)
  137.   else
  138.     if gSISystem = "WIN" then
  139.       WIN_SetPanoMovieView(pHPan, pVPan, pZoom, pQuality)
  140.     end if
  141.   end if
  142. end
  143.  
  144. on ClosePanoMovie
  145.   global gSISystem
  146.   if gSISystem = "MAC" then
  147.     MAC_ClosePanoMovie()
  148.   else
  149.     if gSISystem = "WIN" then
  150.       WIN_ClosePanoMovie()
  151.     end if
  152.   end if
  153. end
  154.  
  155. on PanoFrameScript pSpriteNum
  156.   global gSISystem
  157.   if gSISystem = "MAC" then
  158.     MAC_PanoFrameScript(pSpriteNum)
  159.   else
  160.     if gSISystem = "WIN" then
  161.       WIN_PanoFrameScript(pSpriteNum)
  162.     end if
  163.   end if
  164. end
  165.  
  166. on PanoGetHPanAngle
  167.   global gSISystem
  168.   if gSISystem = "MAC" then
  169.     put "duck"
  170.     return MAC_PanoGetHPanAngle()
  171.   else
  172.     if gSISystem = "WIN" then
  173.       return WIN_PanoGetHPanAngle()
  174.     end if
  175.   end if
  176. end
  177.  
  178. on PanoGetVPanAngle
  179.   global gSISystem
  180.   if gSISystem = "MAC" then
  181.     return MAC_PanoGetVPanAngle()
  182.   else
  183.     if gSISystem = "WIN" then
  184.       return WIN_PanoGetVPanAngle()
  185.     end if
  186.   end if
  187. end
  188.  
  189. on PanoGetZoomAngle
  190.   global gSISystem
  191.   if gSISystem = "MAC" then
  192.     return MAC_PanoGetZoomAngle()
  193.   else
  194.     if gSISystem = "WIN" then
  195.       return WIN_PanoGetZoomAngle()
  196.     end if
  197.   end if
  198. end
  199.  
  200. on ExtractPathName pPathName
  201.   global gSISystem
  202.   if gSISystem = "MAC" then
  203.     MAC_ExtractPathName(pPathName)
  204.   else
  205.     if gSISystem = "WIN" then
  206.       WIN_ExtractPathName(pPathName)
  207.     end if
  208.   end if
  209. end
  210.